package com.eastfair.pay.vo;

import io.swagger.annotations.ApiModel;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @ClassNameContractFinanceDTO
 * @Description 合同财务信息
 * @Authoradmin
 * @Date 2022/7/8 17:45
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ContractFinanceDTO", description = "合同财务信息")
public class ContractFinanceVO {

    /**
     * 付款计划总期
     */
    public String payPlanTotal;
    /**
     * 完成期数
     */
    public String finishTotal;
    /**
     * 逾期期数
     */
    public String overdueTotal;

    /**
     * 已付款金额
     */
    public BigDecimal payedAmount;
    /**
     * 未付款金额
     */
    public BigDecimal unPayedAmount;
    /**
     * 已开票金额
     */
    public BigDecimal invoiceAmount;
    /**
     * 未开票金额
     */
    public BigDecimal unInvoiceAmount;
    /**
     * 最后支付时间
     */
    public LocalDateTime lastPayTime;

}
